package fr.upmc.tep.lambda.evaluation.types;

/**
 * This class represent a node which contains a single variable.
 * 
 * @author Fabrice Reynaud, Yihan Wang
 *
 */
public class LVariableNode extends LNode{

	private char variable;
		
	public LVariableNode(char var, LNode parent) {
		super(parent);
		this.variable = var;
	}

	public char getVariable() {
		return variable;
	}

	public void setVariable(char variable) {
		this.variable = variable;
	}
	
	public String toLambdaExpression() {
		return "" + variable;
	}
}
